package cn.itsource.hrm.service;

import cn.itsource.hrm.domain.Tenant;
import cn.itsource.hrm.dto.TenantRegsigterDto;
import cn.itsource.hrm.query.TenantQuery;
import cn.itsource.hrm.util.AjaxResult;
import cn.itsource.hrm.util.PageList;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yyx
 * @since 2021-10-27
 */
public interface ITenantService extends IService<Tenant> {

    //分页方法。
    PageList<Tenant> searchTenant(TenantQuery query);
    //店铺入驻
    AjaxResult entering(TenantRegsigterDto tenantRegsigterDto);
}
